<?php $this->beginContent('/layouts/MasterLayout'); ?>

<div id="products-container" class="row">
    <div class="col-xs-12">
        <div class="row product-breadcrumb">
            <div class="container">
                <?php $this->renderPartial('//Partials/_Breadcrumb'); ?>
            </div>
        </div>
    </div>
    <div class="col-xs-12">
        <div class="row">
            <div class="container">
                <div class="products-tow-col-container">
                <div class="products-menu">
                    <h3 class="menu-title"><?php echo Yii::t("view_product_layout", "BOXANH CATEGORIES"); ?></h3>
                    <ul class="left-menu">
                        <?php foreach($this->categories as $category): ?>
                            <li class="menu-item <?php  if(isset($_GET['id'])) echo ($_GET['id'] == $category->id ? 'item-active' : ''); ?>">
                                <?php echo CHtml::link($category->name, array('categories/index','id'=> $category->id)); ?>
                            </li>
                        <?php endforeach; ?>
                    </ul>
                </div>
                <div class="products-container">
                    <div class="text-right support-bar">
                        <?php $this->renderPartial('//Partials/_SupportsOnline'); ?>
                    </div>
                    <div>
                        <?php echo $content; ?>
                    </div>
                </div>
                </div>
        </div>
    </div>
    </div>
</div>
    <div class="row">
        <div class="col-xs-12 text-center">
            <div class="products-live-support">
                <div class="col-xs-4 text-right"><img src="<?php echo Yii::app()->request->baseUrl; ?>/contents/Images/live-support.png" /></div>
                <div class="col-xs-8 text-left">
                    <div class="content">
                       <?php echo Yii::t("view_partials_productBox", "Have a question? Call us on +84 93 330 7799 from 10 AM to 6 PM, Monday to Saturday"); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>

<?php $this->endContent(); ?>